package com.shihb.behavioralpatterns.visitorpattern;/**
 *Description:
 *Version:1.0.0
 *@author shihb
 *@date 2020/7/27 0:54
 */
public class Success implements  Action{

  @Override
  public void getManAction(Man man) {
    System.out.println("man:"+man.name+"认为这次演出非常成功");
  }

  @Override
  public void getWomanAction(Woman woman) {
    System.out.println("woman:"+woman.name+"认为这次演出非常成功");
  }
}
